package com.ruoyi.electronicFence.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备定位卡信息表对象 t_ef_device_location_card
 * 
 * @author ysgj
 * @date 2024-04-10
 */
public class DeviceLocationCard extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 单位编码 */
    @Excel(name = "单位编码")
    private String unitCode;

    /** 卡号 */
    @Excel(name = "卡号")
    private String cardNumber;

    /** 名称 */
    @Excel(name = "名称")
    private String deviceName;

    /** 设备类别 */
    @Excel(name = "设备类别")
    private String category;

    /** 状态 */
    @Excel(name = "状态")
    private String deviceStatus;

    /** X坐标 */
    @Excel(name = "X坐标")
    private String locationX;

    /** Y坐标 */
    @Excel(name = "Y坐标")
    private String locationY;

    /** Z坐标 */
    @Excel(name = "Z坐标")
    private String locationZ;

    /** 区域坐标集合 */
    @Excel(name = "区域坐标集合")
    private String coordinates;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUnitCode(String unitCode) 
    {
        this.unitCode = unitCode;
    }

    public String getUnitCode() 
    {
        return unitCode;
    }
    public void setCardNumber(String cardNumber) 
    {
        this.cardNumber = cardNumber;
    }

    public String getCardNumber() 
    {
        return cardNumber;
    }
    public void setDeviceName(String deviceName) 
    {
        this.deviceName = deviceName;
    }

    public String getDeviceName() 
    {
        return deviceName;
    }
    public void setCategory(String category) 
    {
        this.category = category;
    }

    public String getCategory() 
    {
        return category;
    }
    public void setDeviceStatus(String deviceStatus) 
    {
        this.deviceStatus = deviceStatus;
    }

    public String getDeviceStatus() 
    {
        return deviceStatus;
    }
    public void setLocationX(String locationX) 
    {
        this.locationX = locationX;
    }

    public String getLocationX() 
    {
        return locationX;
    }
    public void setLocationY(String locationY) 
    {
        this.locationY = locationY;
    }

    public String getLocationY() 
    {
        return locationY;
    }
    public void setLocationZ(String locationZ) 
    {
        this.locationZ = locationZ;
    }

    public String getLocationZ() 
    {
        return locationZ;
    }
    public void setCoordinates(String coordinates) 
    {
        this.coordinates = coordinates;
    }

    public String getCoordinates() 
    {
        return coordinates;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("unitCode", getUnitCode())
            .append("cardNumber", getCardNumber())
            .append("deviceName", getDeviceName())
            .append("category", getCategory())
            .append("deviceStatus", getDeviceStatus())
            .append("locationX", getLocationX())
            .append("locationY", getLocationY())
            .append("locationZ", getLocationZ())
            .append("coordinates", getCoordinates())
            .toString();
    }
}
